<header>
    <!--menu begin-->
    <div class="menu">
        <nav class="nav" id="topnav">
            <h2 class="logo"><a href="/newblog/index1/">虫二视频网站</a></h2>
            <li><a href="/newblog/index1/">首页</a></li>
            <li><a>视频分类1</a>
                <ul class="sub-nav">
                    <li><a href="/videos/">全部</a></li>
                    {%for videocg in videocg_list1 %}
                    <li><a href="/videos?type={{videocg}}">{{videocg}}</a></li>
                    {% endfor%}
                </ul>
            </li>
            <li><a>视频分类2</a>
                <ul class="sub-nav">
                    <li><a href="/videos/">全部</a></li>
                    {%for videocg in videocg_list2 %}
                    <li><a href="/videos?type={{videocg}}">{{videocg}}</a></li>
                    {% endfor%}
                </ul>
            </li>
            <li><a>视频分类3</a>
                <ul class="sub-nav">
                    <li><a href="/videos/">全部</a></li>
                    {%for videocg in videocg_list3 %}
                    <li><a href="/videos?type={{videocg}}">{{videocg}}</a></li>
                    {% endfor%}
                </ul>
            </li>
            <!--search begin-->
            <div id="search_bar" class="search_bar">
                <form id="searchform" action="[!--news.url--]e/search/index.php" method="post" name="searchform">
                    <input class="input" placeholder="想搜点什么呢..." type="text" name="keyboard" id="keyboard">
                    <input type="hidden" name="show" value="title"/>
                    <input type="hidden" name="tempid" value="1"/>
                    <input type="hidden" name="tbname" value="news">
                    <input type="hidden" name="Submit" value="搜索"/>
                    <span class="search_ico"></span>
                </form>
            </div>
            <!--search end-->
        </nav>
    </div>
    <!--menu end-->
    <!--mnav begin-->
    <div id="mnav">
        <h2><a href="/newblog/index1/" class="mlogo">虫二视频网站</a><span class="navicon"></span></h2>
        <dl class="list_dl">
            <dt class="list_dt"><a href="/newblog/index1/">首页</a></dt>
            <dt class="list_dt"><a>视频分类</a></dt>
            <dd class="list_dd">

                <ul>
                    <li><a href="/blogs/">所有</a></li>
                    {%for videocg in videocg_list%}
                    <li><a href="/blogs/">{{videocg}}</a></li>
                    {% endfor %}
                </ul>
            </dd>

        </dl>
    </div>
    <!--mnav end-->
</header>
